package net.maku.events.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import net.maku.framework.mybatis.entity.BaseEntity;

/**
 * @Author: qr
 * @Date: 2025/3/25 22:11
 * @Version 1.0
 */
@Data
@TableName("user_points_records")
public class UserPointsRecordsEntity extends BaseEntity {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 活动id
     */
    private Long businessId;

    /**
     * 活动类型
     */
    private Integer businessType;

    /**
     * 积分
     */
    private Double points;

    /**
     * 是否是增加 0 减少 1 增加
     */
    private Integer whetherAdd;

    /**
     * 租户id
     */
    private Long tenantId;

}
